<?php
$this->breadcrumbs = array(
    'Category' => array('index'),
    'Manage',
);
?>
<div class="box">
    <header>
        <h5><i class="icon icon-user"></i> - Manager post</h5>
    </header>
    <div class="box">

	<?php
	$this->widget('bootstrap.widgets.TbGridView', array(
	    'id' => 'cat-grid',
	    'dataProvider' => $model->search(),
	    'filter' => $model,
	    'columns' => array(
		array(
		    'name' => 'category_id',
		    'header' => '#',
		    'htmlOptions' => array(
			'width' => 50
		    )
		),
		'name',
		array(
		    'name' => 'parent_id',
		    'value' => '$data->getParentCatName()',
		    'filter' => $aParentCats,
		),
		array(
		    'name' => 'time_created',
		    'type' => 'datetime',
		    'filter' => false
		),
		array(
		    'class' => 'bootstrap.widgets.TbButtonColumn',
		)
	    )
	));
	?>
    </div>
</div>